/*-------------------------------------------------------- 
* Module Name : OLStatusbar
* Version : 1.0
* 
* Software Name : Qt App Template
* Version : 1.0
*
* Copyright � 2010 � 2011 France T�l�com
* This software is distributed under the LGPL v2.1 license,
* the text of which is available at http://www.gnu.org/licenses/lgpl-2.1.html
* or see the "LICENSE.txt" file for more details.
*
*--------------------------------------------------------
* File Name   : OLStatusbar.h
*
* Created     : 07 June 2011
* Author(s)   : Omer Saleem
*
* Description :
* UI container for the optional toolbar. The toolbar can
* be made of any number of buttons, can be positioned at
* the top or bottom of the screen and sized as small or big.
*
*--------------------------------------------------------
* 1.0 - First open source release
*
*/

#ifndef OLTOOLBAR_H
#define OLTOOLBAR_H

#include <QWidget>

class OLToolbar : public QWidget
{
    Q_OBJECT
public:
    explicit OLToolbar(QWidget *parent = 0);

public slots:
    void disableButtons();
    void enableButtons();

protected:
    // from QWidget
    virtual void paintEvent(QPaintEvent* event);

public:
    bool m_drawBg;
};

#endif // OLTOOLBAR_H
